package com.itheima.fanxing;

import java.util.Arrays;

public class Demo1{
    public static void main(String[] args) {
        Box<int[]> box=new Box();//泛型在创建对象的时候就要确定
        int[] aarr={1,2,3};
        box.setElement(aarr);
        int[] element = box.getElement();
        System.out.println(Arrays.toString(element));
    }
}


